package com.ics.atable.chat.common.document;

import lombok.Getter;
import org.springframework.ai.document.Document;

import java.util.Map;

/**
 * 自定义多向量 Document 类
 *
 * @author haohongbin
 */
@Getter
public class MultiVectorDocument extends Document {

    private final Map<String, String> fieldContents;

    public MultiVectorDocument(String id, String content, Map<String, String> fieldContents, Map<String, Object> metadata) {
        super(id, content, metadata);
        this.fieldContents = fieldContents;
    }

}